const artTemplate = require("art-template");
const fs = require('fs')
const path = require("path");
describe('测试art', () => {

    it('should ', () => {
        let fp  = path.join(__dirname+'../../../views/news/oftenVisits.html')
        let str = fs.readFileSync(fp).toString()
        let html = artTemplate.render(str,{name:'GQQ',age:"18"})

    });

});